package com.esri.core.map;

import com.esri.core.geometry.Geometry;
import com.esri.core.tasks.SpatialRelationship;
import java.io.Serializable;

/* loaded from: classes.dex */
public class SpatialFilter implements Serializable {
    private static final long serialVersionUID = 1;
    private Geometry a;
    private SpatialRelationship b;

    public SpatialFilter(Geometry geometry, SpatialRelationship spatialRelationship) {
        this.a = geometry;
        this.b = spatialRelationship;
    }

    public Geometry getGeometry() {
        return this.a;
    }

    public SpatialRelationship getSpatialRelationship() {
        return this.b;
    }

    public void setGeometry(Geometry geometry) {
        this.a = geometry;
    }

    public void setSpatialRelationship(SpatialRelationship spatialRelationship) {
        this.b = spatialRelationship;
    }

    public String toString() {
        return "Spatial Filter: [Geometry Type: " + this.a.getType() + ", Spatial Relationship: " + this.b + "]";
    }
}
